package FIT::Util::Wrapper;

use FIT::Class;
use FIT::Util::Autoload;

has wrapped => (is => 'ro', isa => 'Any');

sub autoload {
    my $name = shift;
    my $wrapped = $self->wrapped;
    return blessed($wrapped)? $wrapped->$name: $wrapped->{$name};
}

